package com.hnl.to.wrapper;

import com.hnl.to.Referral;
import com.hnl.util.DAOHelperUtil;

public class ReferralWrapper extends Referral{
	private String referralName;
	
	public ReferralWrapper(Referral referral){
		super(referral);
	}

	public String getReferralName() {		
		setReferralName( DAOHelperUtil.getReferralTextByID(getReferralId()));
		return referralName;
	}

	public void setReferralName(String referralName) {
		this.referralName = referralName;
	}

}
